//
//  WYWAudioDownLoader.h
//  WYWPlayer
//
//  Created by Mr.Run on 2017/11/10.
//  Copyright © 2017年 Mr.Run. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol WYWAudioDownLoaderDelegate <NSObject>

-(void)downLoading;

@end

@interface WYWAudioDownLoader : NSObject

@property (nonatomic,weak) id<WYWAudioDownLoaderDelegate> delegate;

@property (nonatomic,assign) long long loadedSize;
@property (nonatomic,assign) long long offset;
@property (nonatomic,assign) long long totalSize;
@property (nonatomic,strong) NSString *mineType;

-(void)downLoadWith:(NSURL *)url offset:(long long)offset;

@end
